package com.example.im.bean

import com.example.im.utils.JsonUtils
import java.io.Serializable

class ChatBody : Serializable {

    var body: String? = null
    var type: Int = 0
    var time: Long = 0
    var aits: Set<String>? = null
    var file: FileInfo? = null

    fun getChatBody(): ChatBody = this

    override fun toString(): String {
        return JsonUtils.objectToString(this)
    }

}
